#include "XQTabWidget.h"

namespace Jonathan
{

   /**
    * @brief Initializes a new extended tab widget.
    *
    * @param parent Parent widget.
    */
   XQTabWidget::XQTabWidget(QWidget *parent) :
       QTabWidget(parent)
   {
   }

   /**
    * @brief Changes the title of a tab.
    *
    * @param title Tile to change to.
    * @param tabIndex Index of tab to change.
    */
   void XQTabWidget::ChangeTabTitle (QString title, int tabIndex)
   {
      this->setTabText (tabIndex, title);
   }

}
